﻿@model SeguriGasesERP.Models.Categoria

<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>



        @Html.HiddenFor(model => model.ID)

        <div class="editor-label">
            @Html.LabelFor(model => model.Nombre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Nombre)
            @Html.ValidationMessageFor(model => model.Nombre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IdPadre)
        </div>
        <div class="editor-field">
            @Html.DropDownList("IdPadre", new SelectList(ViewBag.Categorias as System.Collections.IEnumerable, "ID", "Nombre", Model.IdPadre), "")
        </div>

        

